<template>
  <DataTablePage
    ref="tablePage"
    mainColumn="userId"
    longColumn="desc"
    resource="/dxbase/log/operation"
    title="操作日志"
    label="日志"
    labelName="userId"
    :tableFullList="tableFullList"
    :tableInitList="tableInitList"
    :filterFullList="filterFullList"
    :filterInitList="filterInitList"
    :columns="columns"
    :columnGroupBy="columnGroupBy"
    :orderByInit="orderByInit"
  />
</template>

<script>
import DataTablePage from '@/containers/DataTablePage'
import config from '../config/log'

export default {
  name: 'log',
  components: {
    DataTablePage
  },
  data () {
    return {
      ...config,
      orderByInit: [{
        name: 'logTime',
        sort: 'desc'
      }]
    }
  }
}
</script>
